<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<title>Windows Interface Reference: Clipping structure</title>
</head>

<body>

<h1>Clipping</h1>

<p>The Clipping structure contains functions and structures to create and manipulate
clipping regions.</p>

<pre>structure Clipping :
  sig
    type HDC and HRGN
    type RECT = { top: int, left: int, bottom: int, right: int }
    type RegionOperation = Region.RegionOperation
    type ResultRegion = Region.ResultRegion

    val ExcludeClipRect : HDC * RECT -&gt; ResultRegion
    val ExtSelectClipRgn : HDC * HRGN * RegionOperation -&gt; ResultRegion
    val <a
name="GetClipBox">GetClipBox</a> : HDC -&gt; ResultRegion * RECT
    val GetClipRgn : HDC * HRGN -&gt; unit
    val GetMetaRgn : HDC * HRGN -&gt; unit
    val IntersectClipRect : HDC * RECT -&gt; ResultRegion
    val OffsetClipRgn : HDC * int * int -&gt; ResultRegion
    val PtVisible : HDC * int * int * bool -&gt; bool
    val RectVisible : HDC * RECT -&gt; bool
    val SelectClipPath : HDC * RegionOperation -&gt; unit
    val SelectClipRgn : HDC * HRGN -&gt; unit
    val SetMetaRgn : HDC -&gt; unit
  end</pre>
</body>
</html>
